package br.ufrj.dcc.comp2.musica.vista;

import java.awt.BorderLayout;

import javax.swing.BorderFactory;
import javax.swing.JButton;
import javax.swing.JPanel;

public class PainelAdicionarDisciplinaCentral extends JPanel {
	private PainelAdicionarDisciplina painelAdicionar = new PainelAdicionarDisciplina();
	
	private JPanel painelBotao = new JPanel();
	
	private JButton botaoAdicionar = new JButton("Adicionar");
	
	public PainelAdicionarDisciplinaCentral() {
		super(new BorderLayout());
		
		painelBotao.add(botaoAdicionar);
		
		add(painelAdicionar, BorderLayout.NORTH);
		add(painelBotao, BorderLayout.CENTER);
		
		setBorder(BorderFactory.createTitledBorder("Adicionar Disciplina"));
	}

	public PainelAdicionarDisciplina getPainelAdicionar() {
		return painelAdicionar;
	}
}
